/*
 * KKMathUtils.h
 *
 *  Created on: 2013-9-15
 *      Author: wanghua
 */

#ifndef KKMATHUTILS_H_
#define KKMATHUTILS_H_

#include "kaka_common.h"

using namespace std;

bool solveLeastSquares(const float* x, const float* y, int m, int n,
		float* outB, float* outDet);

bool isPointInPoly(KKVertexArray& poly, const KKPoint& point, bool includeEdge =
		false);

class KKMathUtils {
public:
	KKMathUtils();
	virtual ~KKMathUtils();

};
#endif /* KKMATHUTILS_H_ */
